package com.fengye.newscenter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * @author fengyexjtu@126.com
 * @since 2024-05-14
 */
@ControllerAdvice
@FeignClient
public class CustomControllerAdviseHandlers {
    
    private static Logger logger = LoggerFactory.getLogger(CustomControllerAdviseHandlers.class);
    
    // @ExceptionHandler(Exception.class)
    // public void handleNotFountException(Exception e) {
    //     logger.error("发生了错误", e);
    // }
}
